package cn.edu.zxj.order.service.service;

import cn.edu.zxj.order.service.mapper.OrderMapper;
import cn.edu.zxj.order.service.model.OrderInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description：
 *
 * @author: zxj
 * @date: 2024-09-28
 * @time: 12:36:00
 */
@Service
public class OrderService {
    @Autowired
    private OrderMapper orderMapper;

    public OrderInfo getOrderInfoById(Integer id) {
        return orderMapper.selectOrderById(id);
    }
}
